package com.atguigu.gmall.pms.vo;

import com.atguigu.gmall.pms.entity.SkuAttrValueEntity;
import com.atguigu.gmall.pms.entity.SkuEntity;
import lombok.Data;

import java.math.BigDecimal;
import java.util.List;

@Data
public class SkuVo extends SkuEntity {
    /**
     * 营销属性,在sms模块，我们搞个远程调用的接口
     */
    //以下是sku_bounds表
    private BigDecimal growBounds;
    private BigDecimal buyBounds;
    private Integer[] work;
    //以下是sku_full_reduction
    private Integer ladderAddOther;//addOther
    private BigDecimal fullPrice;
    private BigDecimal reducePrice;
    //以下是sku_ladder表
    private BigDecimal discount;
    private Integer fullCount;
    private Integer fullAddOther;


    //以下是Sku表
    //name
    //title
    //subtitle
    //price
    //weight


    //一下是sku_images表
    private List<String> images;//SkuEntity里的images的数据类型不合适，我们重写一下


    //以下是sku_attr_value
    private List<SkuAttrValueEntity> saleAttrs;


    //以下是没用的属性,不接收了
    // subTitle
    //stock


}
